import {
  request,
} from "@rabbit.do/rabbit";

// 删除充值赠送的数据
export const deleteRechargeData = (data) => request({
  url: '/swan/operation/charge/reward/rule/delete',
  data,
});

// 新增充值赠送的数据
export const createRechargeData = (data) => request({
  url: '/swan/operation/charge/reward/rule/create',
  data,
});

// 修改充值赠送的数据
export const updateRechargeData = (data) => request({
  url: '/swan/operation/charge/reward/rule/update',
  data,
});

// 获取会员等级的数据
export const fetchLevelData = (data) => request({
  url: '/swan/operation/level/find/all',
  data,
});
